package com.trust.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author ccc
 * @since 2023-11-15 17:50:05
 */
@Data
@TableName("field")
public class Field {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("作业项目")
    private Integer activityId;

    @ApiModelProperty("作业项目名称")
    private String activityName;

    @ApiModelProperty("负责人")
    private Integer principalId;

    @ApiModelProperty("记录人")
    private Integer recoder;

    @ApiModelProperty("作业描述")
    private String workDetail;

    @ApiModelProperty("作业班组")
    private Integer workGroupId;

    @ApiModelProperty("作业地块")
    private String landId;

    @ApiModelProperty("作业图片")
    private String workPic;

    @ApiModelProperty("作业时间-开始")
    private Date startTime;

    @ApiModelProperty("作业时间-结束 ")
    private Date endTime;

    @ApiModelProperty("用工人数")
    private Integer workerNum;

    @ApiModelProperty("颜色")
    private String color;
}